import "./App.css"
import { withRouter } from "react-router-dom"
import BeforEach from "./routes/beforEach"
import routes from "./routes"

import { Provider } from "react-redux"
import store from "./store"
// 清除默认样式
import "./commit/reset.css"
// rem布局
import "./commit/flexible"

import View from "./routes/view"
function App(props) {
  return (
    <Provider store={store}>
      <div className="App">
        <View routes={routes}></View>
      </div>
    </Provider>
  );
}

export default withRouter(BeforEach(App));
